package cn.edu.stu.syllabus.login;

import cn.edu.stu.syllabus.base.BasePresenter;
import cn.edu.stu.syllabus.base.BaseView;
import cn.edu.stu.syllabus.repository.token.local.TokenEntry;

/**
 * Created by daidaijie on 2017/4/24.
 */

public interface LoginContract {

    interface Presenter extends BasePresenter {
        void loadToken(String code);
    }

    interface View extends BaseView<Presenter> {
        void showSuccess(TokenEntry tokenEntry);

        void showFail();
    }
}
